home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
wordproc
/
showv20.arj
/
SHOW.DOC
< prev
Wrap
Text File
|
1993-09-04
|
17KB
|
366 lines
SHOW V20 is Copy(c)right 1989,1993 by Gary M. Raymond, New Orleans, La.
Show TEXT Converter (Text to COM) Program V2.0 by Gary M. Raymond
╔═════════════════════════════════════════════╗
║ Gary M. Raymond ║
║ P.O.Box 8184 ║
║ New Orleans, La. 70182 ║
║ (504) 288-6550 ║
║ Compuserve 70613,3165 ║
╚═════════════════════════════════════════════╝
USE (G)o to ---> 26) Files & System Requirments
44) How SHOW was Born.
73) Using SHOW now!
114) Printing documents
139) Changing Colors
159) GOTO & FIND
184) Technical Stuff
219) Updates
248) Shareware License
332) Order Form
FILES AND SYSTEM REQUIRMENTS
====================================================================
Files Provided:
SHOW.COM SHOW Engine used to convert text (ascii) files to COM
SHOW.DOC This document.
README.COM This document encased by SHOW engine
ORDERME.COM Order form
System requirements: PC/XT/AT, DOS 2.1 up, 128k ram up, floppy or
hard drive, mono or color, any type graphic adapter. Printer optional.
====================================================================
How SHOW was born:
------------------
I had a need to immediately supply a client with some rather lengthy
written instructions. He was in another city, the document was over
twenty pages, and faxing seemed to be my only option. An assistant
suggested I use one of a couple of simple utilities circulating on
the BBS'es that convert text files to self displaying executable com
files. Then I could upload it directly to his home computer. This
sounded like the perfect solution. It was, and it worked. The
advantages were obvious. The customer could read the text directly on
his computer monitor by simple typing the name of the text at the dos
prompt. The customer did not have to know beans about the dos TYPE
command, piping, the MORE utility, redirection codes, or anything.
(and, he didn't!) The best part was that the self displaying text
also had scroll control, with up and down line control, pgup and
pgdn, along with home and end.
Unfortunately, the utility we used required some sophistication and
time consuming preperation on the part of the operator. Some of this
lost time involved embedding control characters into the text file
for color changes etc. I therefore decided to write a more user
friendly, faster and novice oriented utility. Thus SHOW was born.
SHOW was written entirely in assembler to optimize both speed and
file size. Isaacson's A86 compiler was chosen for it's power yet
ultra simplicity to use as well.
HOW TO USE
----------
To use SHOW, you need only tell it what text file to convert and
the name of the output com file you desire. (which can be the same
name as the input file if you wish). You have an additional option of
giving it a third string parameter which will appear as a header on
the top line of the display window. The first two parameters must
be passed at the command prompt.
Example:
1st 2nd 3rd parameter
C:>SHOW INPUT.TXT OUTEXT "Synopsis of board meeting - 2/23/92"
Remember, the 3rd parameter is optional (as are the quotes) and
notice that a space must delimit (separate) each parameter. Since
ascii text files have extensions that generally vary from
(.ASC),(.TXT),(.DOC), (.BAS),(.PAS), etc, etc, you must provide the
correct extension for the 1st parameter or input file (assuming it
has an extension, and it does NOT have to have one!) The output file
(name.EXT) will always default to .COM if you do not supply it.
SHOW incorporates several features not found in many of the other
text converters on the market. It is also fairly intuitive to use,
displaying its entire set of menu choices at the bottom of the screen
on line 25.
Example:
<Esc> (W)rite (G)o (C)olor/(S) (P)rint, (F)ind, Home,End,PgUpDn,ArUpDn Ln =00
You may <exit to dos> anytime by using the Escape key. The Line counter
at the far right of the menu bar, always indicates the position of the
very top line. Hence, if you hit <End> and see 975, there are actually
998 lines (975 plus 23) in the file. This will only vary during a text
search, in which case, the line number appearing at the bottom will be
the line number the found text appears on.
PRINTING
--------
You can quickly and easily print the document to your line printer by
selecting (P)rint from the menu.
Prompt> Is Line Printer READY [y/n] -> y
SHOW assumes you are using LPT1 (parallel port address 3BCh).
However, if you are using LPT2 (parallel port address 378h), or LPT3
(parallel port address 278h) this is no problem. SHOW will allow you
to toggle between these ports by repeatedly hitting the Insert key.
You will note the LPT# will appear to the extreme left of the last
(25th) line on standard displays.
You can also (W)rite the document back into a standard ascii text
file if desired. After hitting "w" you will be prompted for a standard
dos file name or handle.
Prompt> Enter filename to save as -> minutes.doc
Please observe not to exceed the dos convention of 8x3 character
assignments for the handle and extension. (Examp: TEXTFILE.DOC)
12345678x123 max
COLOR:
------
The display screen will have a pleasant default background color of
cyan with black lettering. The top border and bottom menu line will
be blue with white lettering. The (C)olor option allows you to change
(on the fly), the body color of the document. After hitting the
letter "c", immediately use the up and down arrow keys to toggle
through the 255 choices. As you toggle the up/dn arrow keys you will
see the screen change immediately. When you are satisfied with the
selected colors, hit <Esc> and continue enjoying SHOW! There are 128
standard choices plus 128 of the same in blinking format. PgUp - PgDn
keys are also active (along with the Arrow keys) and will toggle the
background color for immediate rotation to the next background color.
NOTICE: You may save the new color as a DEFAULT by hitting the "s"
key AFTER changing the color and hitting <Esc>. Caution: the color
cloning (saving) feature will not operate if you rename the new COM
text display file.
GOTO & FIND
-----------
The (G)o option request a line number to jump to. You can quickly
determine the total number of lines in your document by using the
<End> key after loading and reading the Line counter at the bottom
right. This feature can save a lot of time in scanning or jumping to
a particular place in a document.
The (F)ind option will result in the appearance of the following
prompt at line 25: Enter search string to find -> atom bomb
The search is case sensitive and if successful will bring the line
of text containing the match to the top of the screen. This will be
followed by another prompt asking: Search for this again [y/n] ->
A yes (Y or y) response will continue the search, any other key will
abort the search.
If the first or any subsequent search is unsuccessful, you will be
prompted by a flashing "No Match Found" message. If a search was
successful, the line containing the found match will appear in the
center of the screen (if not the first or last page) with the
matching text highlighted.
TECH STUFF:
-------------------------------------------------------------------
In order to not breach the 64k segment boundary of a dos com file and
still stuff more text into the wraparound display driver, I have
elected not to maintain a data array of line numbers like most other
similar utilities. Rather, SHOW reads line endings (crlf) on the fly,
remembers its present position and calculates page and line changes
from that reference. This saves two bytes per line in terms of
overall file size and allows you to get over 61k of text into the
driver. This could be particularly useful for files with short lines.
On the other hand, there is another limit imposed by the use of
unsigned word integers as a line count variable, you are limited to
no more than 64k lines. But, I somehow doubt this will be a problem
either.
The color attribute is determined by a single byte that can represent
an integer from 0 to 255. There are eight basic background colors;
black, blue, green, cyan, red, magenta (purple), brown and white.
Each background color may have any one of the eight basic colors,
plus eight more of the same basic colors in lighter or brighter hues,
as a foreground color. So 8x16 = 128 choices of normal color
combinations plus another 8x16 (128) of equivalent blinking choices.
Therefore 128 + 128 = 256 choices (0 thru 255). The toggle simply
increments or decrements the byte starting with decimal 048 (the
value for producing cyan background with black foreground).
-------------------------------------------------------------------
For programmers, I will license the assembly source code for a very
reasonable fee. Call, write or E-Mail for more details. One fellow
wanted $500 for his source. By comparison, mine is practically free
and reasonably commented throughout. Show was written for Isaacson's
A86 Assembler.
UPDATES
-------
====================================================================
V2.0 Major Upgrade. Incorporated a text (F)ind or searching function
to locate strings. This is in response to the number one most
frequently requested feature by SHOW's registered users.
====================================================================
V1.5 Fixed a bug that prevented writing to a 8x3 com file. Also
increased file handle buffer to permit passing file path along
with file names.
====================================================================
V1.4 Minor cosmetic changes to some menu prompts. Fixed bug on PgUp
that caused lockup if first line of text was empty. Fixed bug
that improperly set line 25 Menu when text less than 23 lines.
Changed the Printer Port Toggle key from PrnSc to Insert.
====================================================================
V1.3 Added an error message if input text file not found. Added
PgUp & PgDn in addition to Arrow Up,Dn for faster color changes.
====================================================================
V1.2b Replace bios screen writes with direct video to speed up display
time on old, slower CPU's.
====================================================================
V1.1 12/19/92 Maintenance, reworked all functions, saved a few bytes.
====================================================================
V1.0 12/15/92 First release.......................................
====================================================================
LICENSE AGREEMENT
-----------------
┌─────────┐
│ MEMBER │ Society of
│ ┌──────┴──┐ Independent
│ │ │ Shareware
└──┤ ■ │ Authors
│ ║ │
└────╨────┘
This program is produced by a member of the Society of Independent
Shareware Authors (SISA). The Society wants to ensure that all
valid shareware principle actually work for you and SISA members.
The principle behind shareware distribution is simple; try before
you buy. Society members agree to license all shareware for a minimum
of 10 days, free of charge, to first time users as an evaluation period.
After 10 days, buyers are then obligated to license their copy with
the Society member. Society members are obligated to provide high
quality, useful shareware, but, are free to choose whatever marketing
methods suit their specific needs. SISA sanctioned marketing methods
include: demonstration versions; providing printed documentation
after purchase; registration keys that unlock additional features
not necessary to determine basic usefulness; and, providing bug
fixes free of charge. Any Shareware author may become a member of
SISA without cost by simply agreeing to the above conditions and
displaying, at their option, this logo in their documentation.
====================================================================
WARRANTY:
Software:
Gary Raymond warrants that the software contained herein will
perform in substantial compliance with the documentation
accompanying the software. If you report, in writing, a significant
defect to us, and we are unable to correct it within 90 days of the
date you report the defect, you may return the software and
accompanying materials, and we will refund the purchase price.
Diskette's and Documentation:
Gary Raymond, warrants all diskette's and documentation to be
free of defects in materials for a period of 30 days from the date
of purchase. In the event of notification within the warranty period
of defects in any materials, Gary Raymond will replace the
defective diskette or documentation.
Remedies:
The remedy for breach of the warranty shall be limited to
replacement and shall not encompass any other damages, including but
not limited to loss of profit, special, incidental, consequential,
or similar damages, losses, or claims.
DISCLAIMER:
Gary Raymond specifically disclaims all other warranties,
expressed or implied, including but not limited to, implied
warranties of merchantability and fitness for a particular purpose
with respect to defects in the diskette and documentation, and the
program license granted herein, in particular, and without limiting
operation of the program license with respect to any particular
application, use, or purpose. In no event shall Gary Raymond be
liable for any loss of profit or any other commercial damage,
including but not limited to special, incidental, consequential or
other damages.
GOVERNING LAW:
This statement shall be construed, interpreted, and governed by the
laws of the State of Louisiana.
====================================================================
Registering your copy will help continue the competitive advantages
of providing economical shareware. Upon receipt of your payment I
will provide you with a copy of the latest version and notify you
of all future upgrades. Your patronage is appreciated.
My no nonsense license:
------------------------
Your one time registration fee will license you to use SHOW to
package text files in ANY quantity for private, shareware or
commercial sales distribution.
Re distribution via electronic transmission, or downloading, is
allowed without further permission. Re distribution of the Shareware
version of SHOW, for a fee, is also allowed without further
permission as long as that cost is limited to no more than two
dollars per copy, if supplied on any physical disk media.
ORDER FORM
----------
Yes Gary, I can really make use of your program and would like to
register and obtain the latest version as well as get on your mailing
list for future upgrades and new releases!
Product: SHOWV20.EXE
Name_____________________________________________________________
Mailing Address__________________________________________________
City & State ___________________________________________________
ZIP _____________________________ Phone _________________________
Send $4 + $1 (ship & hand) check or money order to:
Gary M. Raymond
P.O.Box 8184
New Orleans, La. 70182
504-288-6550
Compuserve 70613,3165
====================================================================
ACKNOWLEDGEMENTS:
-----------------
To my best friend and machine code instructor, the Padre, alias The
Machine Man, whose many patient hours of coaching and prodding helped
me learn assembler, create, and continue embellishing this neat and
useful text display utility.
EOF